package org.example.sdpback.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(value = "iteration")
public class Iteration {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String description;
    private String userId;
    private String projectId;

    @TableField(value = "create_at")
    private LocalDateTime createTime;
    @TableField(value = "update_at")
    private LocalDateTime updateTime;

}
